package com.bawei.mall.product.domain;


import com.bawei.common.core.annotation.Excel;
import com.bawei.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiParam;
import lombok.Data;

@Data
@ApiModel("全文检索 商品信息对象")
public class MallProductEsInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @ApiParam("ID自增")
    private Long id;


    @ApiParam("SkuId")
    private Long skuId;


    /**
     * 商品名称
     */
    @Excel(name = "商品名称")
    @ApiParam("商品名称")
    private String name;

    /**
     * 商品描述
     */
    @Excel(name = "商品描述")
    private String productDesc;

    /**
     * 商品类型
     */
    @Excel(name = "商品类型")
    private String type;

    /**
     * 冗余字段
     */
    @Excel(name = "冗余字段")
    private String typeIds;

    /**
     * 商品主图
     */
    @Excel(name = "商品主图")
    private String img;

    /**
     * 商品轮播图
     */
    @Excel(name = "商品轮播图")
    private String carouselImages;

    /**
     * 商品评论数
     */
    @Excel(name = "商品评论数")
    private Long commentCount;

    /**
     * 商品收藏人气
     */
    @Excel(name = "商品收藏人气")
    private Long collectCount;

    /**
     * 品牌信息
     */
    @Excel(name = "品牌信息")
    private String brand;

    /**
     * 商品状态
     */
    @Excel(name = "商品状态")
    private String status;

    /**
     * 单位
     */
    @Excel(name = "单位")
    private String unit;

    /**
     * 搜索关键字
     */
    @Excel(name = "搜索关键字")
    private String keywords;

    /**
     * 规格信息
     */
    @Excel(name = "规格信息")
    private Long ruleId;

    /**
     * 乐观锁
     */
    private Long revision;


    /**
     * 规格信息
     */
    private String skus;





}
